/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-05-19
 * Time: 10:34
 */
public class Test {
    public static void main(String[] args) {
        Shape[] shapes={new Cycle(),new Rect(),new Flower()};
        for (Shape s:
             shapes) {
            s.draw();}
    }
}
